package com.xunqi.content.configuration;

import feign.Logger;
import org.springframework.context.annotation.Bean;

/**
 * @Description: feign的全局配置类
 * @Created with IntelliJ IDEA.
 * @author: 夏沫止水
 * @create: 2020-04-17 16:50
 **/
public class GlobalFeignConfiguration {

    @Bean
    public Logger.Level logger() {
        //让feign打印所有请求的细节
        return Logger.Level.FULL;
    }

}
